import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from "./store";
// 引入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// 引入请求
import {selectDictLabel} from "./utils/index";
//引入全局样式
import './assets/styles/index.css' // global css
import './permission'

//全局修改Element属性
ElementUI.Dialog.props.closeOnClickModal.default=false;

Vue.config.productionTip = false
Vue.use(ElementUI);
//以插件形式使用请求
Vue.prototype.selectDictLabel =  selectDictLabel;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount(  '#app')
